package net.maku.express.biza.pojo.collectexpress;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @TableName collect_express
 */
@TableName(value = "collect_express")
@Data
public class CollectExpressPojo implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 收据单号
     */
    @TableField(value = "collect_no")
    private String collectNo;

    /**
     * 订单号
     */
    @TableField(value = "orders_no")
    private String ordersNo;

    /**
     * 快递单号
     */
    @TableField(value = "express_no")
    private String expressNo;


    /**
     * 业务类型
     */
    @TableField(value = "business_state")
    private String businessState;

    /**
     * 发货人
     */
    @TableField(value = "sendor")
    private String sendor;

    /**
     * 收货人
     */
    @TableField(value = "collector")
    private String collector;

    /**
     * 收货件数
     */
    @TableField(value = "collect_num")
    private Integer collectNum;

    /**
     * 重量
     */
    @TableField(value = "weight")
    private Double weight;

    /**
     * 计费重量
     */
    @TableField(value = "charged_weight")
    private Double chargedWeight;

    /**
     * 客户id
     */
    @TableField(value = "custom_id")
    private Integer customId;

    /**
     * 客服id
     */
    @TableField(value = "business_id")
    private Integer businessId;


    /*计费重类型:1:重量,2:万方kg*/
    @TableField(value = "charge_state")
    private Integer chargeState;


    /**
     * 收货日期
     */
    @TableField(value = "collect_time")
    private Date collectTime;

    /**
     * 创建日期
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 操作人
     */
    @TableField(value = "operate_id")
    private Long operateId;

    /**
     * 删除标志
     */
    @TableField(value = "delete_flag")
    private Integer deleteFlag;

    /**
     * 散件和包id
     */
    @TableField(value = "package_collect_id")
    private Integer packageCollectId;
    /**
     * 货物状态
     */
    @TableField(value = "goods_state")
    private Integer goodsState;


    /**
     * 收货状态：0.未收货；1.已收货；2.部分收货
     */
    @TableField(value = "arrived_state")
    private Integer arrivedState;

    /**
     * 打包状态:1.未打包,2:部分打包;3:全部打包
     */
    @TableField(value = "pack_state")
    private Integer packState;

    /**
     * 出货状态
     */
    @TableField(value = "sh_state")
    private Integer shState;
    /**
     * 发货人电话
     */
    @TableField(value = "sendor_phone")
    private String sendorPhone;

    /**
     * 收货人电话
     */
    @TableField(value = "collector_phone")
    private String collectorPhone;

    /**
     * 件状态:0正常件,1:问题件
     */
    @TableField(value = "question_state")
    private Integer questionState;

    /**
     * 付款方式:1:PP,2:CC,3:半月结,4:月结
     */
    @TableField(value = "pay_state")
    private String payState;

    /**
     * 到货方式：1:快递派送,2:客户自送
     */
    @TableField(value = "arrival_state")
    private String arrivalState;

    /**
     * 地址
     */
    @TableField(value = "send_address")
    private String sendAddress;



    /**
     * 业务员id
     */
    @TableField(value = "sales_id")
    private Integer salesId;

    /**
     * 实际件数
     */
    @TableField(value = "collect_true_num")
    private Integer collectTrueNum;
    /**
     * 货物类型:1:普货,2:敏感货,3:单证普货,4:单证敏感货
     */
    @TableField(value = "collect_type")
    private Integer collectType;

    @TableField(value = "pcs")
    private String pcs;
    /**
     * 业务员id
     */
    @TableField(value = "tiji")
    private Double tiji;

    /**
     * 实际件数
     */
    @TableField(value = "tiji_weight")
    private Double tijiWeight;
    /**
     * 货物类型:1:普货,2:敏感货,3:单证普货,4:单证敏感货
     */
    @TableField(value = "collect_address")
    private String collectAddress;

    @TableField(value = "order_state")
    private Integer orderState;

    @TableField(value = "bar_annex")
    private String barAnnex;

    /**
     * 组织id
     */
    @TableField(value = "org_id")
    private int orgId;

    /**
     * 始发地国家    2024.06.30
     */
    @TableField(value = "origin_country")
    private String originCountry;

    /**
     * 目的地国家    2024.06.30
     */
    @TableField(value = "destination_country")
    private String destinationCountry;

}